Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Embedded C Interview Questions and Answers

Question: What is a volatile variable in C?
Answer: The volatile keyword tells the compiler that a variable's value may change at any time, without any action being taken by the code.

Example:

volatile int sensorValue;
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook